<?php
class Model_Category_CarMotorcycleBoat extends Model_Category implements Model_Category_Interface
{
    protected static  $_collection = 'category';

    protected static $_requirements = array(
     //   'em'  => array('Required', 'Validator:EmailAddress'), //Email
    );

    public function __construct($data = array(), $config = array())
	{
        $config['collection'] = 'category';
        parent::__construct($data, $config);
    }

    public function getQuickSearchTabs()
    {
        return array('Car','Motorcycle', 'Boat');
    }

    public function getQuickSearchForms()
    {
        return array(
            'car'           => new Category_Form_QuickSearchCarForm(),
            'motorcycle'    => new Category_Form_QuickSearchMotorcycleForm(),
            'boat'          => new Category_Form_QuickSearchBoatForm()
            );
    }
}

